$document.ready(function(){ $.ajax({
		type:"DELETE",
		url:"/springmvc/test",
		contentType:"application/json",
		dataType:"json",
		success:function(data){alert(JSON.stringify(data.code));},
		error:function(){alert("error");},
	});}

)